package concrete;

public class Utility extends Property {


	//VARIABLES
	private int rentUtility2;
	private int ownedUtility;


	//CONSTRUCTOR
	public Utility(String tileName, int propertyPrice, int mortgageValue, 
				   int rent, int rentUtility2) {
		//explicit call to superclass Property constructor
		super(tileName, propertyPrice,mortgageValue,rent);
		this.rentUtility2 = rentUtility2;
		this.ownedUtility = 0;
	}


	//GETTER/S
	public int getRentUtility2() {
		return this.rentUtility2;
	}
	public int getOwnedUtility() {
		return this.ownedUtility;
	}


	//SETTER/S
	public void setRentUtility2(int rentUtility2) {
		this.rentUtility2 = rentUtility2;
	}
	public void setOwnedUtility(int ownedUtility) {
		this.ownedUtility = ownedUtility;
	}
}
